import request from '@/utils/request'
import Qs from 'qs'
export const fileUpload = '/jcdSys/jcdDataUpload/fileUpload'
import { encryptionData } from '@/utils/com'
// 文件上传
export function upload(data) {
  return request({
    method: 'post',
    url: fileUpload,
    // headers: {
    //   "Content-Type": "multipart/form-data",
    // },
    headers: encryptionData(data, '/jcdSys/jcdDataUpload/fileUpload'),
    data
  })
}

